﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SMS.Core
{
    /// <summary>
    /// 发送类型
    /// </summary>
    public enum SendType
    {
        /// <summary>
        /// 顺序发送
        /// </summary>
        Sequential = 0,
        /// <summary>
        /// 立即发送
        /// </summary>
        Immediately = 1,
    }

    /// <summary>
    /// 优先级
    /// </summary>
    public enum Priority
    {
        /// <summary>
        /// 高
        /// </summary>
        Height = 0,
        /// <summary>
        /// 普通
        /// </summary>
        Normal = 1,
        /// <summary>
        /// 低
        /// </summary>
        Low = 2,
    }

    /// <summary>
    /// 发送状态
    /// </summary>
    public enum Status
    {
        /// <summary>
        /// 等待处理
        /// </summary>
        Waitting = 0,
        /// <summary>
        /// 发送成功
        /// </summary>
        Success = 1,
        /// <summary>
        /// 发送失败
        /// </summary>
        Fail = 2,
        /// <summary>
        /// 发送超时
        /// </summary>
        Timeout = 3,    
    }

    /// <summary>
    /// 异常类型
    /// </summary>
    public enum ExceptionType
    {
        /// <summary>
        /// 未知异常
        /// </summary>
        Unknow,
        /// <summary>
        /// 内部异常
        /// </summary>
        Inner,
        /// <summary>
        /// 外部异常
        /// </summary>
        Outer,
    }
}
